﻿using System;

namespace Program05
{
    class Program
    {
        static void Main(string[] args)
        {
            var r1 = new Student("罗本", true);
            var r2 = new Student("张三", 18, true, 90, 95, 80);
            var r3 = new Student("小兰", 16, false, 95, 85, 100);
            r1.ReportCard();
            r2.ReportCard();
            r3.ReportCard();

            var s1 = new Student2()
            {
                No = "20180310001",
                Name = "xafdas",
                Age = 20

            };
            Console.WriteLine(s1);

            var _5 = new Course1()
            {
                Name = "546",
                Period = 6,
                Creidt=8,
                Score=99
            };

            //var gm = new GradeManage("20180310001", "Messi", 20);
            var gm = new GradeManage("20180310001", "Messi", 20
                ,cName1:"语文",60,4,98);
            gm.Print();

            var gm1 = new GradeManage("2018001", "Messi", 20,
               "语文", 60, 4, 98,
               "数学", 56, 4, 99);
            gm1.Print();

            Console.WriteLine(_5);
            Console.ReadKey();


        }
    }
}
